﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SaleOnlineSystem.Controls
{
    public partial class Vendor : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int catID = Convert.ToInt32(Request.QueryString["catID"].ToString());

            rpt_Vendor.DataSource = DAL.DCollector.DBCollector.Instance.StoredProcedureGetTableByID("tbl_Vendor",
                                                                                                    catID,
                                                                                                    "selectvendorproduct");
            rpt_Vendor.DataBind();

        }
    }
}